Space-Efficient Randomized Algorithms for K-SUM
نویسنده
چکیده
Recent results by Dinur et al. (2012) and Austrin et al. (2013) have improved the time-space tradeoff curve for SubsetSum. We analyze a family of hash functions previously introduced by Dietzfelbinger, and apply it to decompose arbitrary k-Sum instances into smaller ones. This allows us to extend the aforementioned tradeoff curve to the k-Sum problem, which is SubsetSum restricted to sets of size k. Three consequences are: – a Las Vegas algorithm solving 3-Sum in O(n) time and Õ( √ n) space, – a Monte Carlo algorithm solving k-Sum in Õ(nk− √ ) time and Õ(n) space for k ≥ 3, and – a Monte Carlo algorithm solving k-Sum in Õ(nk−δ(k−1) + nk−1−δ( √ 2k−2)) time and Õ(n) space, for δ ∈ [0, 1] and k ≥ 3.
منابع مشابه
Space-Efficient Las Vegas Algorithms for K-SUM
Using hashing techniques, this paper develops a family of space-efficient Las Vegas randomized algorithms for k-SUM problems. This family includes an algorithm that can solve 3-SUM in O(n) time and O( √ n) space. It also establishes a new time-space upper bound for SUBSETSUM, which can be solved by a Las Vegas algorithm in O(2 √ 8 9 ) time and O(2) space, for any β ∈ [0, 9 32 ].
متن کاملTabu-KM: A Hybrid Clustering Algorithm Based on Tabu Search Approach
The clustering problem under the criterion of minimum sum of squares is a non-convex and non-linear program, which possesses many locally optimal values, resulting that its solution often falls into these trap and therefore cannot converge to global optima solution. In this paper, an efficient hybrid optimization algorithm is developed for solving this problem, called Tabu-KM. It gathers the ...
متن کاملEfficient Algorithms for the Sum Selection Problem and K Maximum Sums Problem
Given a sequence of n real numbers A = a1, a2, . . . , an and a positive integer k, the Sum Selection Problem is to find the segment A(i, j) = ai, ai+1, . . . , aj such that the rank of the sum s(i, j) = j t=i at is k over all n(n−1) 2 segments. We present a deterministic algorithm for this problem that runs in O(n log n) time. The previously best known randomized algorithm for this problem run...
متن کاملDivision algorithms for the fixed weight subset sum problem
Given positive integers a1, . . . , an, t, the fixed weight subset sum problem is to find a subset of the ai that sum to t, where the subset has a prescribed number of elements. It is this problem that underlies the security of modern knapsack cryptosystems, and solving the problem results directly in a message attack. We present new exponential algorithms that do not rely on lattices, and henc...
متن کاملFaster Space-Efficient Algorithms for Subset Sum, k-Sum and Related Problems
We present space efficient Monte Carlo algorithms that solve Subset Sum and Knapsack instances with n items using O(2) time and polynomial space, where the O∗(·) notation suppresses factors polynomial in the input size. Both algorithms assume random read-only access to random bits. Modulo this mild assumption, this resolves a long-standing open problem in exact algorithms for NP-hard problems. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014